package com.yugu.park.system.mapper;

import com.yugu.park.dto.TreeNode;
import com.yugu.park.system.entity.SysDeptEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * 部门表
 *
 * @author guxf
 * @email sjzyug@163.com
 * @date 2023-08-19 17:10:48
 */
@Mapper
public interface SysDeptMapper extends BaseMapper<SysDeptEntity> {
	List<SysDeptEntity> page(@Param("info") SysDeptEntity search);
	List<TreeNode> selectTree();
}
